package com.yicong.ants.bean.circle;

/**
 * @author cch
 * @version 2020/11/3
 */
public class ViewedItem  {
    private String img_url;
    private int check_status;
    private String log_uid;
    private String ad_id;
    private String coin;
    private String title;
    private String link;
    private String create_time;

    public ViewedItem() {
    }

    public String getImg_url() {
        return this.img_url;
    }

    public int getCheck_status() {
        return this.check_status;
    }

    public String getLog_uid() {
        return this.log_uid;
    }

    public String getAd_id() {
        return this.ad_id;
    }

    public String getCoin() {
        return this.coin;
    }

    public String getTitle() {
        return this.title;
    }

    public String getLink() {
        return this.link;
    }

    public String getCreate_time() {
        return this.create_time;
    }

    public void setImg_url(String img_url) {
        this.img_url = img_url;
    }

    public void setCheck_status(int check_status) {
        this.check_status = check_status;
    }

    public void setLog_uid(String log_uid) {
        this.log_uid = log_uid;
    }

    public void setAd_id(String ad_id) {
        this.ad_id = ad_id;
    }

    public void setCoin(String coin) {
        this.coin = coin;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public void setLink(String link) {
        this.link = link;
    }

    public void setCreate_time(String create_time) {
        this.create_time = create_time;
    }

    public boolean equals(final Object o) {
        if (o == this) return true;
        if (!(o instanceof ViewedItem)) return false;
        final ViewedItem other = (ViewedItem) o;
        if (!other.canEqual((Object) this)) return false;
        final Object this$img_url = this.getImg_url();
        final Object other$img_url = other.getImg_url();
        if (this$img_url == null ? other$img_url != null : !this$img_url.equals(other$img_url))
            return false;
        if (this.getCheck_status() != other.getCheck_status()) return false;
        final Object this$log_uid = this.getLog_uid();
        final Object other$log_uid = other.getLog_uid();
        if (this$log_uid == null ? other$log_uid != null : !this$log_uid.equals(other$log_uid))
            return false;
        final Object this$ad_id = this.getAd_id();
        final Object other$ad_id = other.getAd_id();
        if (this$ad_id == null ? other$ad_id != null : !this$ad_id.equals(other$ad_id))
            return false;
        final Object this$coin = this.getCoin();
        final Object other$coin = other.getCoin();
        if (this$coin == null ? other$coin != null : !this$coin.equals(other$coin)) return false;
        final Object this$title = this.getTitle();
        final Object other$title = other.getTitle();
        if (this$title == null ? other$title != null : !this$title.equals(other$title))
            return false;
        final Object this$link = this.getLink();
        final Object other$link = other.getLink();
        if (this$link == null ? other$link != null : !this$link.equals(other$link)) return false;
        final Object this$create_time = this.getCreate_time();
        final Object other$create_time = other.getCreate_time();
        if (this$create_time == null ? other$create_time != null : !this$create_time.equals(other$create_time))
            return false;
        return true;
    }

    protected boolean canEqual(final Object other) {
        return other instanceof ViewedItem;
    }

    public int hashCode() {
        final int PRIME = 59;
        int result = 1;
        final Object $img_url = this.getImg_url();
        result = result * PRIME + ($img_url == null ? 43 : $img_url.hashCode());
        result = result * PRIME + this.getCheck_status();
        final Object $log_uid = this.getLog_uid();
        result = result * PRIME + ($log_uid == null ? 43 : $log_uid.hashCode());
        final Object $ad_id = this.getAd_id();
        result = result * PRIME + ($ad_id == null ? 43 : $ad_id.hashCode());
        final Object $coin = this.getCoin();
        result = result * PRIME + ($coin == null ? 43 : $coin.hashCode());
        final Object $title = this.getTitle();
        result = result * PRIME + ($title == null ? 43 : $title.hashCode());
        final Object $link = this.getLink();
        result = result * PRIME + ($link == null ? 43 : $link.hashCode());
        final Object $create_time = this.getCreate_time();
        result = result * PRIME + ($create_time == null ? 43 : $create_time.hashCode());
        return result;
    }

    public String toString() {
        return "ViewedItem(img_url=" + this.getImg_url() + ", check_status=" + this.getCheck_status() + ", log_uid=" + this.getLog_uid() + ", ad_id=" + this.getAd_id() + ", coin=" + this.getCoin() + ", title=" + this.getTitle() + ", link=" + this.getLink() + ", create_time=" + this.getCreate_time() + ")";
    }
}
